home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbrowtype.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                DBROWTYPE
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  DBROWTYPE
  6.  
  7.   FUNCTION:
  8.        Return the type of the current row.
  9.  
  10.   SYNTAX:
  11.        STATUS DBROWTYPE(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o This macro tells you the  type  (regular  or  compute)  of  the
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   DBROWTYPE               Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          current row.  Usually you already know this, since  dbnextrow()
  27.          also returns the row type.
  28.  
  29.   PARAMETERS:
  30.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  31.            connection for a particular front-end/SQL Server process.  It
  32.            contains all the information that DB-Library uses  to  manage
  33.            communications and data between the front end and SQL Server.
  34.  
  35.   RETURNS:
  36.        Three different types of values can be returned:
  37.  
  38.        o If the current row is a regular row, REG_ROW is returned.
  39.        o If the current row is a compute row, the computeid of  the  row
  40.          is  returned.   (See  dbaltbind() for information on the compu-
  41.          teid.)
  42.  
  43.        o If no rows have been read, or if the  routine  failed  for  any
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                DBROWTYPE
  47.   ______________________________________________________________________
  48.          reason, NO_MORE_ROWS is returned.
  49.  
  50.   SEE ALSO:
  51.        dbnextrow
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.